Cleanup IOMMU interrupt setup
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 6 Feb 2009 10:36:23 +0000 (10:36 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 6 Feb 2009 10:36:23 +0000 (10:36 +0000)
commitd4af292c8297fc7796684abe560398ac4c5ce1bc
treef9f529366213368f6e9c61ed7fdcfc5309883dea
parent20eed172a79109b19859448a1a7618c0209bf057
Cleanup IOMMU interrupt setup
- Check for errors when allocating interrupt vectors
- Clean up if interrupt allocation failed
- Make sure that the allocated vector is not reused

Signed-off-by: Espen Skoglund <espen.skoglund@netronome.com>
xen/drivers/passthrough/amd/iommu_init.c
xen/drivers/passthrough/vtd/iommu.c